The mailDocument allows processing of internet
mail messages. These are messages that
follow internet standards based on RFC 822 (Standard For the Format of ARPA Text
Messages). They are text documents basically consisting of a section containing
descriptive headers, and a section containing data called the
body. For details, please see the topic on mailMessage
- the object that encapsulates a single entity of an internet mail message. In Framework EDI
(FREDI) there is always an instance of the mailDocument object in the top application
ediDocument object.The mailDocument
consists of 2 messages:
The subject message is the main message that is processed.When a mail document is loaded from an external file, it is loaded into the
subject message; when a mail document is processed from an internal string, it
is processed to the subject message.Likewise,
when the mail document is saved into an external file, the contents of the subject
message is saved into the file.
Message Disposition Notification
A Message Disposition Notification (MDN) is an acknowledgment file created by
the receiver that is sent to the sender to notify the sender of any success or
failure of the received message.This object always exists, unless the acknowledgment has been
enabled, which then, the contents will be empty.
GetMailString - Gets the string content of the subject message in the document.
GetMDN - Gets the Message Disposition Notification
(MDN) object.
GetMdnTransports - Gets the transport object of the Message Disposition Notification (MDN) message in
the mail document.
GetMessage - Gets the subject message of the document.
GetTransports - Gets the transport object of the subject message in the mail document.
Load - Loads a subject message from an external file.
LoadMailString - Processes a string representing a message.
MapDispositionModifierError - Maps a Framework EDI standard error code to a Message Disposition Notification’s
(MDN) disposition modifier extension field.
Option - Sets or Gets an optional feature of a mailDocument interface.
PrepareEdi - Prepares the subject message with EDI data.
Process - Processes the document that has already been loaded.
Property - Sets or Gets a property of the mailDocument interface.
PutMailString - Appends or concatenates the sub string to an internal message string.
RefreshMDN -
Rebuilds the Message Disposition Notification based on the last time the
document was processed.
Save - Saves the contents of the subject message to an external file.
Properties
EnableAcknowledgment -
Sets or gets the option for generating a Message Disposition Notification (MDN).